package com.xujl.fastlib.http;

/**
 * 请求成功，但服务器返回操作失败
 */
public class CommitException extends Exception {
    private String code;
    private String desc;

    public CommitException (String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode () {
        return code;
    }

    public void setCode (String code) {
        this.code = code;
    }

    public String getDesc () {
        return desc;
    }

    public void setDesc (String desc) {
        this.desc = desc;
    }
}
